home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / wdj0697.zip / WIESMAN.ZIP / CUSTCTRL.RC < prev    next >
Text File  |  1997-01-20  |  6KB  |  222 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29.  
  30. 1 TEXTINCLUDE DISCARDABLE 
  31. BEGIN
  32.     "resource.h\0"
  33. END
  34.  
  35. 2 TEXTINCLUDE DISCARDABLE 
  36. BEGIN
  37.     "#include ""afxres.h""\r\n"
  38.     "\0"
  39. END
  40.  
  41. 3 TEXTINCLUDE DISCARDABLE 
  42. BEGIN
  43.     "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  44.     "#define _AFX_NO_OLE_RESOURCES\r\n"
  45.     "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  46.     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  47.     "\r\n"
  48.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  49.     "#ifdef _WIN32\r\n"
  50.     "LANGUAGE 9, 1\r\n"
  51.     "#pragma code_page(1252)\r\n"
  52.     "#endif\r\n"
  53.     "#include ""res\\CustCtrl.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
  54.     "#include ""afxres.rc""         // Standard components\r\n"
  55.     "#endif\0"
  56. END
  57.  
  58. #endif    // APSTUDIO_INVOKED
  59.  
  60.  
  61. /////////////////////////////////////////////////////////////////////////////
  62. //
  63. // Icon
  64. //
  65.  
  66. // Icon with lowest ID value placed first to ensure application icon
  67. // remains consistent on all systems.
  68. IDR_MAINFRAME           ICON    DISCARDABLE     "res\\CustCtrl.ico"
  69.  
  70. /////////////////////////////////////////////////////////////////////////////
  71. //
  72. // Dialog
  73. //
  74.  
  75. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 90
  76. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  77. CAPTION "About Custom Controls"
  78. FONT 8, "MS Sans Serif"
  79. BEGIN
  80.     ICON            IDR_MAINFRAME,IDC_STATIC,7,7,21,20
  81.     LTEXT           "Written by Jon-David Wiesman",IDC_STATIC,40,10,98,8,
  82.                     SS_NOPREFIX
  83.     DEFPUSHBUTTON   "OK",IDOK,156,7,54,14,WS_GROUP
  84.     LTEXT           "to illustrate using custom controls in ",IDC_STATIC,40,
  85.                     24,114,8
  86.     LTEXT           "dialogs created with Developer Studio.",IDC_STATIC,40,
  87.                     38,122,8
  88.     LTEXT           "jon@mtesoft.com",IDC_STATIC,40,52,56,8
  89.     LTEXT           "www.mtesoft.com",IDC_STATIC,40,66,57,8
  90. END
  91.  
  92. IDD_CUSTCTRL_DIALOG DIALOGEX 0, 0, 369, 130
  93. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  94. EXSTYLE WS_EX_APPWINDOW
  95. CAPTION "Custom Controls - WDJ"
  96. FONT 8, "MS Sans Serif"
  97. BEGIN
  98.     CONTROL         "Custom1",IDC_CLOCK,"__WDJCustCtrlClass__",0x0,7,18,116,
  99.                     105
  100.     DEFPUSHBUTTON   "OK",IDOK,312,7,50,14
  101.     LTEXT           "The clock control:",IDC_STATIC,7,7,58,8
  102.     PUSHBUTTON      "The third dial",IDC_DIAL3,294,72,68,51
  103.     LTEXT           "The second dial",IDC_DIAL2,213,72,68,51
  104.     LTEXT           "Dial control using new windows class",IDC_ST_VALUE,132,
  105.                     40,67,28
  106.     LTEXT           "Dial control using the ""static control"" class.  Will not accept focus or input.",
  107.                     IDC_STATIC,213,37,67,33
  108.     LTEXT           "Dial control using the ""button control"" class.  Sometimes draws itself like a button.",
  109.                     IDC_STATIC,294,29,67,41
  110.     CONTROL         "Custom1",IDC_DIAL,"__WDJCustCtrlClass__",WS_TABSTOP,132,
  111.                     72,68,51
  112. END
  113.  
  114.  
  115. #ifndef _MAC
  116. /////////////////////////////////////////////////////////////////////////////
  117. //
  118. // Version
  119. //
  120.  
  121. VS_VERSION_INFO VERSIONINFO
  122.  FILEVERSION 1,0,0,1
  123.  PRODUCTVERSION 1,0,0,1
  124.  FILEFLAGSMASK 0x3fL
  125. #ifdef _DEBUG
  126.  FILEFLAGS 0x1L
  127. #else
  128.  FILEFLAGS 0x0L
  129. #endif
  130.  FILEOS 0x4L
  131.  FILETYPE 0x1L
  132.  FILESUBTYPE 0x0L
  133. BEGIN
  134.     BLOCK "StringFileInfo"
  135.     BEGIN
  136.         BLOCK "040904B0"
  137.         BEGIN
  138.             VALUE "CompanyName", "\0"
  139.             VALUE "FileDescription", "CUSTCTRL MFC Application\0"
  140.             VALUE "FileVersion", "1, 0, 0, 1\0"
  141.             VALUE "InternalName", "CUSTCTRL\0"
  142.             VALUE "LegalCopyright", "Copyright ⌐ 1997\0"
  143.             VALUE "LegalTrademarks", "\0"
  144.             VALUE "OriginalFilename", "CUSTCTRL.EXE\0"
  145.             VALUE "ProductName", "CUSTCTRL Application\0"
  146.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  147.         END
  148.     END
  149.     BLOCK "VarFileInfo"
  150.     BEGIN
  151.         VALUE "Translation", 0x409, 1200
  152.     END
  153. END
  154.  
  155. #endif    // !_MAC
  156.  
  157.  
  158. /////////////////////////////////////////////////////////////////////////////
  159. //
  160. // DESIGNINFO
  161. //
  162.  
  163. #ifdef APSTUDIO_INVOKED
  164. GUIDELINES DESIGNINFO DISCARDABLE 
  165. BEGIN
  166.     IDD_ABOUTBOX, DIALOG
  167.     BEGIN
  168.         LEFTMARGIN, 7
  169.         RIGHTMARGIN, 210
  170.         TOPMARGIN, 7
  171.         BOTTOMMARGIN, 83
  172.     END
  173.  
  174.     IDD_CUSTCTRL_DIALOG, DIALOG
  175.     BEGIN
  176.         LEFTMARGIN, 7
  177.         RIGHTMARGIN, 362
  178.         TOPMARGIN, 7
  179.         BOTTOMMARGIN, 123
  180.     END
  181. END
  182. #endif    // APSTUDIO_INVOKED
  183.  
  184.  
  185. /////////////////////////////////////////////////////////////////////////////
  186. //
  187. // String Table
  188. //
  189.  
  190. STRINGTABLE DISCARDABLE 
  191. BEGIN
  192.     IDS_ABOUTBOX            "&About CustCtrl..."
  193.     IDS_VALFORMAT           "Dial control using new windows class.  Value: %d"
  194. END
  195.  
  196. #endif    // English (U.S.) resources
  197. /////////////////////////////////////////////////////////////////////////////
  198.  
  199.  
  200.  
  201. #ifndef APSTUDIO_INVOKED
  202. /////////////////////////////////////////////////////////////////////////////
  203. //
  204. // Generated from the TEXTINCLUDE 3 resource.
  205. //
  206. #define _AFX_NO_SPLITTER_RESOURCES
  207. #define _AFX_NO_OLE_RESOURCES
  208. #define _AFX_NO_TRACKER_RESOURCES
  209. #define _AFX_NO_PROPERTY_RESOURCES
  210.  
  211. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  212. #ifdef _WIN32
  213. LANGUAGE 9, 1
  214. #pragma code_page(1252)
  215. #endif
  216. #include "res\CustCtrl.rc2"  // non-Microsoft Visual C++ edited resources
  217. #include "afxres.rc"         // Standard components
  218. #endif
  219. /////////////////////////////////////////////////////////////////////////////
  220. #endif    // not APSTUDIO_INVOKED
  221.  
  222.